package com.ruoyi.caigou.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购执行记录对象 purchase_execute
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public class PurchaseExecute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 执行人 */
    @Excel(name = "执行人")
    private String executeBy;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executeTime;

    /** 执行备注 */
    @Excel(name = "执行备注")
    private String executeRemark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setExecuteBy(String executeBy) 
    {
        this.executeBy = executeBy;
    }

    public String getExecuteBy() 
    {
        return executeBy;
    }

    public void setExecuteTime(Date executeTime) 
    {
        this.executeTime = executeTime;
    }

    public Date getExecuteTime() 
    {
        return executeTime;
    }

    public void setExecuteRemark(String executeRemark) 
    {
        this.executeRemark = executeRemark;
    }

    public String getExecuteRemark() 
    {
        return executeRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("executeBy", getExecuteBy())
            .append("executeTime", getExecuteTime())
            .append("executeRemark", getExecuteRemark())
            .toString();
    }
}
